package goods.vo;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by Liang Wenxu on 2017/1/17.
 */
public class SalesPriceCalVo implements Serializable {
    /**
     * ProductFashion ID，用于索引商品规格
     */
    private String fashionId;

    /**
     * 店铺代码
     */
    private String storeCode;
    /**
     * 第三方商户店铺ID，Store表id
     */

    private String storeId;
    /**
     * 合作企业id organization表id
     */
    private String organizationId;

    /**
     * 销售价
     */
    private BigDecimal salesPrice;

    /**
     * 第三方协议价
     */
    private BigDecimal costPrice;

    /**
     * 第三方市场价
     */
    private BigDecimal marketPrice;

    /**
     * 基准价
     */
    private BigDecimal basicPrice;

    /**
     * 购买数量
     */
    private Integer counts;

    /**
     * 费率区间基准值，以京东为例：rangeVal = 协议价 / 京东价
     */
    private BigDecimal rangeVal;

    public SalesPriceCalVo() {

    }

    public SalesPriceCalVo(String fashionId, String storeId, String storeCode,
                           String organizationId, BigDecimal salesPrice, BigDecimal costPrice,
                           BigDecimal marketPrice, BigDecimal basicPrice, Integer counts) {
        this.fashionId = fashionId;
        this.storeId = storeId;
        this.storeCode = storeCode;
        this.organizationId = organizationId;
        this.salesPrice = salesPrice;
        this.costPrice = costPrice;
        this.marketPrice = marketPrice;
        this.basicPrice = basicPrice;
        this.counts = counts;
    }

    public SalesPriceCalVo(String storeCode, String storeId, String organizationId) {
        this.storeCode = storeCode;
        this.storeId = storeId;
        this.organizationId = organizationId;
    }

    public SalesPriceCalVo(String storeCode, String storeId, String organizationId, BigDecimal rangeVal) {
        this.storeCode = storeCode;
        this.storeId = storeId;
        this.organizationId = organizationId;
        this.rangeVal = rangeVal;
    }

    public String getFashionId() {
        return fashionId;
    }

    public void setFashionId(String fashionId) {
        this.fashionId = fashionId;
    }

    public String getStoreCode() {
        return storeCode;
    }

    public void setStoreCode(String storeCode) {
        this.storeCode = storeCode;
    }

    public String getStoreId() {
        return storeId;
    }

    public void setStoreId(String storeId) {
        this.storeId = storeId;
    }

    public String getOrganizationId() {
        return organizationId;
    }

    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    public BigDecimal getRangeVal() {
        return rangeVal;
    }

    public void setRangeVal(BigDecimal rangeVal) {
        this.rangeVal = rangeVal;
    }

    public BigDecimal getSalesPrice() {
        return salesPrice;
    }

    public void setSalesPrice(BigDecimal salesPrice) {
        this.salesPrice = salesPrice;
    }

    public BigDecimal getCostPrice() {
        return costPrice;
    }

    public void setCostPrice(BigDecimal costPrice) {
        this.costPrice = costPrice;
    }

    public BigDecimal getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(BigDecimal marketPrice) {
        this.marketPrice = marketPrice;
    }

    public Integer getCounts() {
        return counts;
    }

    public void setCounts(Integer counts) {
        this.counts = counts;
    }

    public BigDecimal getBasicPrice() {
        return basicPrice;
    }

    public void setBasicPrice(BigDecimal basicPrice) {
        this.basicPrice = basicPrice;
    }
}
